package org.malred.hospital.dto;

import lombok.Data;
import org.malred.hospital.entity.TbDoctor;
import org.malred.hospital.entity.TbStudent;

import java.io.Serializable;

@Data
public class LoginDto implements Serializable {
    String role; // doctor or student or admin
    // 学生或医生的账户消息
//    TbDoctorAccount doctorAccount;
//    TbStudentAccount studentAccount;
    String username;
    String nickname;
    TbDoctor doctor;
    TbStudent student;
    String token;
}
